
import Controller.AuthorController;
import java.util.logging.*;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author admin-pc
 */
public class SelectAuthorMenuCommand implements Command {

    AuthorController authorController;

    private static Logger log = Logger.getLogger(SelectAuthorMenuCommand.class.getName());

    public SelectAuthorMenuCommand(AuthorController authorController) {
        this.authorController = authorController;
    }

    @Override
    public void execute() {
        try {
            authorController.authorSelectAll();
        }
        catch (Exception e) {
            log.log(Level.SEVERE, "Exception: ", e);
        }
    }

}
